<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* .box1{
            height: 50px ;
            width: 50px;
            border: 1px solid red;
        }
        .box2{
            height: 100px ;
            width: 100px;
            border: 1px solid blue;
        } */
        .container{
            width: 1226px;
            height: 460px;
            background-color: yellow;
            margin: 0 auto;
        }
        .left{
            float: left;
            width: 300px;
            height: 460px;
            background-color: red;
        }
        .right{
            float: left;
            width: 926px;
            height: 460px;
            background-color: blue;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="left"></div>
        <div class="right"></div>
    </div>
    <!-- <div class="box1">1</div>
    <div class="box2">2</div> -->
</body>
</html>